<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
这是一个模板
{% include 'top.html' %}
{{ title }}
{{ num }}
{{ li.0 }}
{{ dic.name }}
{{ dic.age }}
{% for i in li %}
    {{ i }}
{% endfor %}
<br>
{% for item in res %}
    {{ item.username }}
    {{ item.password }}
    <img src="http://localhost:8000/static/{{ item.img }}">
{% endfor %}
</body>
</html>